package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.SelectVo;
import com.zb.entity.ZjWorkFinishOrderTemplate;
import com.zb.extend.WorkFinishOrderTemplateExtend;
import com.zb.mobile.NetworkMobileStatementTemplateVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 工单结单模板保存表 服务类
 * </p>
 *
 * @author WEN
 * @since 2023-11-30
 */
public interface ZjWorkFinishOrderTemplateService extends IService<ZjWorkFinishOrderTemplate> {


    /**
     * 保存工单结单模板
     * @param custAccId 商家ID
     * @param workId 工单ID
     * @param finishOrderId 结单ID
     * @param templateVos
     */
    void save(Long custAccId, Long workId, Long finishOrderId, List<NetworkMobileStatementTemplateVo> templateVos);

    /**
     * 根据结单ID获取结单模板
     * @param finishOrderId 结单ID
     * @return
     */
    List<WorkFinishOrderTemplateExtend> getByWorkFinishOrderId(Long finishOrderId);

}
